(function(){/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var m,aa="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},p;if("function"==typeof Object.setPrototypeOf)p=Object.setPrototypeOf;else{var q;a:{var ba={a:!0},ca={};try{ca.__proto__=ba;q=ca.a;break a}catch(a){}q=!1}p=q?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var da=p,t=function(a,b){a.prototype=aa(b.prototype);a.prototype.constructor=a;if(da)da(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.ha=b.prototype},u=this||self,v=function(a,b,c,d){a=a.split(".");d=d||u;a[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)if(a.length||void 0===b)d=d[e]&&d[e]!==Object.prototype[e]?d[e]:d[e]={};else if(!c&& ea(b)&&ea(d[e]))for(var f in b)b.hasOwnProperty(f)&&(d[e][f]=b[f]);else d[e]=b},fa=function(){},ea=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},w=function(a){return a};var ha=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,c);for(;ce?encodeURIComponent(Sa(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};Q.prototype.H=function(a,b){this.j.push(a);this.m[a]=b};Q.prototype.G=function(a,b){var c=this.V++,d={};d[a]=b;a=[d];this.H(c,a)}; Q.prototype.S=function(a,b,c,d){a=a+"//"+b+c;var e=this.P()-c.length-d.length;if(0>e)return"";this.j.sort(function(l,r){return l-r});b=null;c="";for(var f=0;f=n.length){e-=n.length;a+=n;c=this.s;break}b=null==b?g:b}}e="";this.l&&null!=b&&(b=this.ea||b,e=c+this.l+"="+b);return a+e+d}; Q.prototype.P=function(){if(!this.l)return this.u;var a=1,b;for(b in this.m)a=b.length>a?b.length:a;return this.u-this.l.length-a-this.s.length-1};var R=function(a,b,c,d,e){e=void 0===e?!1:e;this.aa=a;this.N=b;this.X=c;this.M=d;this.I=e;this.B=Math.random()};R.prototype.ca=function(a){0<=a&&1>=a&&(this.B=a)};R.prototype.U=function(a,b,c,d,e){if(this.da(!!c,d))try{if(b instanceof Q)var f=b;else f=new Q,xa(b,function(h,k){f.G(k,h)});var g=f.S(this.aa,this.N,this.X+a+"&","");g&&("undefined"!==typeof e?J(u,g,e):this.I?u.navigator&&ya(u.navigator.userAgent)&&u.navigator.sendBeacon?u.navigator.sendBeacon(g):J(u,g):J(u,g))}catch(h){}}; R.prototype.da=function(a,b){b=b||this.M;a=a?this.B:Math.random();return a/g,">").replace(/"/g,""")}; m.L=function(){if(null==this.g&&!this.v)if(this.g=L.open("","GoogleDebug_"+this.D,"width=1100, height=600, status=no,resizable=yes, scrollbars=yes")){var a="Google Ad Manager Debug Output";"gam"!=this.C&&(a="Google Debug Output");var b=this.g.document,c="";c+="";c+=""+a+"";c+="";c+="

"+a+"


";c+='Page URL:

';c+='
';c+=''+b+""};m.ga=function(a,b,c){var d=this.g;if(d)if(d=this.g.document.getElementById("google_msg_table"),null!=d){d=d.insertRow(-1);var e=d.insertCell(0),f=Pa(this.o(a,""+this.R()));E(e,f);e=d.insertCell(1);f=Pa(this.o(a,a+"  "));E(e,f);d=d.insertCell(2);c||(b=this.O(b));a=Pa(this.o(a,b));E(d,a)}else alert("fails to add to console: "+a+", "+b)}; m.F=function(){if(null==this.g){var a="gdbg_console_"+this.D;L[a]?this.g=L[a]:(this.L(),L[a]=this.g)}};m.fa=function(a){this.ga("Error",a,!1)};var fb={Information:"black",Warning:"orange",Error:"red",Internal:"green"};var gb=null,hb=function(a){if(!gb){var b=void 0,c=(b=void 0===b?null:b)||"gam";b="gdbg_logger_showcompanionads_"+c;if(!L[b]){L[b]=new eb("showcompanionads",c);c=K.URL;var d;if(d=!!c){a:{if(c){d=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var e=d.exec(decodeURIComponent(c));if(e){var f=e[1]&&1'+ob+"\x3c/script>'"}catch(y){window[O]=null,hb("Could not write third party content into IE iframe with modified document.domain: "+y.message)}finally{jb(l)}}}else try{var na=k.contentWindow?k.contentWindow.document:k.contentDocument;sa&&na.open("text/html","replace");na.write(h);na.close()}catch(y){hb("Could not write content into iframe using the DOM standards method. "+y.message)}}b.slotRenderEnded(g, f.adWidth,f.adHeight)}else b.fillSlot(g,f.adContent,f.adWidth,f.adHeight);if(null!=f.onAdContentSet)f.onAdContentSet(I(document,g.getSlotId().getDomId()))}}}}v("googleSetCompanionAdContents",mb,!0,void 0);function Z(){if("undefined"!=typeof googletag&&googletag&&"function"==typeof googletag.companionAds){var a=googletag.companionAds();return a}return null}function nb(a){a&&(a+="&label=elementview&value=0",J(L,a))}v("google_companion_error",nb,!0,void 0);var pb=Z();if(pb&&pb.onImplementationLoaded)pb.onImplementationLoaded();}).call(this);